﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Framework.Zhaogang.Log.Client
{
    /// <summary>
    /// 日志操作接口
    /// </summary>
    public interface ILog
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="className"></param>
        /// <param name="methodName"></param>
        /// <param name="content"></param>
        void Debug(string className, string methodName, dynamic content);
        /// <summary>
        /// 
        /// </summary>
        /// <param name="area"></param>
        /// <param name="title"></param>
        /// <param name="content"></param>
        void Info(string area, string title, dynamic content);
        /// <summary>
        /// 
        /// </summary>
        /// <param name="area"></param>
        /// <param name="title"></param>
        /// <param name="content"></param>
        void Event(string area, string title, dynamic content);
        /// <summary>
        /// 
        /// </summary>
        /// <param name="exception"></param>
        void Error(Exception exception);
        /// <summary>
        /// 
        /// </summary>
        /// <param name="exception"></param>
        void Fatal(Exception exception);
    }
}
